
import request from '@/utils/request';

export function listData() {
  return request({
    url: `/rank/list`,
    method: 'post',
  });
}

export function saveData(form) {
  return request({
    url: '/rank/add',
    method: 'post',
    data: form
  });
}

export function updateData(form) {
  return request({
    url: '/rank/save',
    method: 'post',
    data: form
  });
}

export function deleteData(query) {
  return request({
    url: '/rank/del',
    method: 'post',
    data: query
  });
}


